#pragma once

#ifndef FORCEGENERATOR_H
#define FORCEGENERATOR_H

#include "Particle.h"

/**
 * A force generator can be asked to add a force to one or more
 * particles.
 */
class ForceGenerator
{
public:
	virtual ~ForceGenerator() { }

	/**
	 * Overload this in implementations of the interface to calculate
	 * and update the force applied to the given particle.
	 */
	virtual void updateForce(Particle* particle, float frameTime) = 0;
};

#endif